/**  
 * All rights Reserved, Designed By www.tydic.com
 * @Title:  MarketService.java   
 * @Package com.axin.service   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: axin     
 * @date:   2019年3月11日 下午10:01:48   
 * @version V1.0 
 * @Copyright: 2019 www.hao456.top Inc. All rights reserved. 
 */
package com.axin.service;

import java.util.List;
import java.util.Map;

import com.axin.common.entity.ApiToken;
import com.axin.common.entity.JsonResult;
import com.axin.common.entity.response.Merged;
import com.axin.common.entity.response.MergedResponse;
import com.axin.common.exception.ApiException;

/**   
 * @Description: 市场行情服务接口 
 * @ClassName:  MarketService
 * @author:  Axin 
 * @date:   2019年3月11日 下午10:01:48   
 * @Copyright: 2019 www.hao456.top Inc. All rights reserved. 
 */
public interface MarketService {
	
	/**
	 * K线
	 * @Description: TODO  
	 * @Title: kline   
	 * @param:  token
	 * @param:  param
	 * @return: JsonResult      
	 * @throws
	 */
	JsonResult getKline(ApiToken token, Map<String,String> param);
	
	/**
	 * 
	 * @Description: TODO  
	 * @Title: getDetailMerged   
	 * @param token
	 * @param param
	 * @return Merged
	 * @throws
	 */
	Merged getDetailMerged(ApiToken token, Map<String,String> param)  throws ApiException,Exception;
	

	
	/**
	 * 查询24小时聚合行情
	 * @Description: TODO  
	 * @Title: getDetailMerged   
	 * @param token
	 * @param param
	 * @return Merged
	 * @throws
	 */
	Merged getDetailMerged(ApiToken token, String symbol)  throws ApiException,Exception;
}
